package com.example.demo;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author 蓝欣
 * @Date 2022/5/11 22:12
 */
@Controller
@ResponseBody
public class IndexController {

    /**
     * 首页
     * @return
     */
    @GetMapping("index")
    public String index(){
       return "index";
    }

}
